package com.zx.BookSeaReader.ui.booklistcreate;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;

import android.os.Bundle;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.zx.BookSeaReader.R;
import com.zx.BookSeaReader.base.BaseActivity;
import com.zx.BookSeaReader.common.APPCONST;
import com.zx.BookSeaReader.greendao.entity.Book;
import com.zx.BookSeaReader.greendao.entity.UserBean;
import com.zx.BookSeaReader.greendao.service.BookService;
import com.zx.BookSeaReader.widget.RefreshLayout;
import com.zx.BookSeaReader.widget.itemdecoration.DividerItemDecoration;

import java.util.List;

public class BookListCreateActivity extends BaseActivity {
    @BindView(R.id.file_system_btn_add_book)
    Button mBtCreateBooks;

    @BindView(R.id.rv_collbooks)
    RecyclerView mRvCreateBooks;
    @BindView(R.id.file_system_cb_selected_all)
    CheckBox mCbAllBooks;

    @BindView(R.id.et_list_title)
    EditText mEtListTitle;
    @BindView(R.id.tv_title_text)
    TextView mTvTitle;
    @BindView(R.id.ll_title_back)
    LinearLayout llTitleBack;

    private BookListCreatePresenter mBookListCreatePresenter;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_book_list_create);
        ButterKnife.bind(this);
        setStatusBar(R.color.sys_line);
        mTvTitle.setText("创建书单帖子");


        mBookListCreatePresenter=new BookListCreatePresenter(this);
        mBookListCreatePresenter.start();
    }
    public RecyclerView getRvCreateBooks() {
        return mRvCreateBooks;
    }
    public Button getBtCreateBooks() {
        return mBtCreateBooks;
    }
    public CheckBox getCbAllBooks() {
        return mCbAllBooks;
    }
    public EditText getEtListTitle() {
        return mEtListTitle;
    }
    public LinearLayout getllTitleBack() {
        return llTitleBack;
    }
}
